HTMLify

index.html
Views: 56 | Author: cody
<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <title>Card Hover Animation</title>
    <meta name="viewport" content="width=device-width, initial-scale=1" />

    <link
      rel="stylesheet"
      href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css"
    />
    <link rel="stylesheet" type="text/css" media="screen" href="style.css" />
  </head>

  <body>
    <div class="card">
      <div class="poster">
        <img
          src="https://images.pexels.com/photos/36717/amazing-animal-beautiful-beautifull.jpg"
          alt="Location Unknown"
        />
      </div>

      <div class="details">
        <h1>Card Title</h1>
        <h2>Sub Title</h2>

        <div class="rating">
          <i class="fas fa-star"></i>
          <i class="fas fa-star"></i>
          <i class="fas fa-star"></i>
          <i class="fas fa-star"></i>
          <i class="far fa-star"></i>
          <span>4/5</span>
        </div>

        <p class="desc">
          Lorem ipsum dolor sit amet, consectetur adipisicing elit.
        </p>

        <button>Read More</button>
      </div>
    </div>
  </body>
</html>

Comments